﻿<UserControl x:Class="SLExtensions.Showcase.PageDockPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:slec="clr-namespace:SLExtensions.Controls;assembly=SLExtensions.Controls"
    >
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="250"/>
        </Grid.RowDefinitions>
        <TextBlock Text="DockPanel"/>
        
        <slec:DockPanel Grid.Row="1" LastChildFill="True">
            <Button Content="Top" slec:DockPanel.Dock="Top" Height="60"  />
            <Button Content="Left" slec:DockPanel.Dock="Left" Width="60" />
            <Button Content="Right" slec:DockPanel.Dock="Right" Width="60" />
            <Button Content="Bottom" slec:DockPanel.Dock="Bottom" Height="60" />
            <Button Content="Fill"  />
        </slec:DockPanel>
    </Grid>
</UserControl>
